﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeFarmer.Model.Entities
{
    public class Comment
    {
        public Comment()
        {
            this.Articles = new List<Article>();
        }

        public long ID { get; set; }
        public long AuthorID { get; set; }
        public long ArticleID { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime EditTime { get; set; }
        public string Content { get; set; }
        public int UpCount { get; set; }
        public int State { get; set; }
        public virtual Author Author { get; set; }
        public virtual ICollection<Article> Articles { get; set; }

    }
}
